<script type="text/javascript">
    var URL = '<?php echo $root_page; ?>';
</script>
</body>
</html>